Use gtk_widget_add/remove_css_class more
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Apr 2020 16:08:16 +0000 (12:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 10 Apr 2020 16:09:57 +0000 (12:09 -0400)
commit394ea32e93cab4253e7dd595f2a13824421f6d03
tree7e6505f11199c5ebc47da50d249324bf09609a19
parent2bd36d490b3a0c8138a2ad3aa246a0876ae0718b
Use gtk_widget_add/remove_css_class more

Replace most uses of gtk_style_context_add/remove_class
by the new APIs. The only remaining uses of the old API
are in save/restore situations.
45 files changed:
demos/constraint-editor/constraint-view.c
demos/gtk-demo/bluroverlay.c
demos/gtk-demo/dnd.c
demos/gtk-demo/fishbowl.c
demos/gtk-demo/fixed.c
demos/gtk-demo/headerbar.c
demos/gtk-demo/password_entry.c
demos/gtk-demo/rotated_text.c
demos/gtk-demo/sidebar.c
demos/gtk-demo/sliding_puzzle.c
demos/gtk-demo/tagged_entry.c
demos/widget-factory/widget-factory.c
docs/tools/widgets.c
gtk/gtkappchooserdialog.c
gtk/gtkassistant.c
gtk/gtkcellrenderer.c
gtk/gtkcolorbutton.c
gtk/gtkcoloreditor.c
gtk/gtkcolorscale.c
gtk/gtkcustompaperunixdialog.c
gtk/gtkemojicompletion.c
gtk/gtkfilechooserwidget.c
gtk/gtkmountoperation.c
gtk/gtkshortcutsshortcut.c
gtk/inspector/actions.c
gtk/inspector/controllers.c
gtk/inspector/object-tree.c
gtk/inspector/prop-editor.c
gtk/inspector/prop-list.c
gtk/inspector/size-groups.c
gtk/inspector/strv-editor.c
tests/gdkgears.c
tests/testadjustsize.c
tests/testbaseline.c
tests/testborderdrawing.c
tests/testdnd3.c
tests/testentryicons.c
tests/testheaderbar.c
tests/testoutsetshadowdrawing.c
tests/testoverlay.c
tests/testrevealer2.c
tests/testselectionmode.c
tests/testtoolbar2.c
tests/testtooltips.c
testsuite/reftests/frame-inhibitor.c